@model EncrptyModel
@{
    ViewData["Title"] = "加密工具类";
}
@section javascript {
    <script src="~/js/encrpty.js"></script>
}
<div class="card">
    <div class="card-header">加密工具</div>
    <div class="card-body">
        <div class="form-inline">
            <div class="row">
                <div class="form-group col-12">
                    <label class="control-label" for="password">原始密码：</label>
                    <input type="password" id="password" class="form-control flex-fill" autocomplete="off" />
                </div>
                <div class="form-group col-12">
                    <label class="control-label" for="salt">密码盐：</label>
                    <div class="input-group flex-fill">
                        <input type="text" id="salt" class="form-control" autocomplete="off" />
                        <div class="input-group-append">
                            <button type="button" data-method='salt' class="btn btn-secondary"><i class="fa fa-exclamation-triangle" aria-hidden="true"></i><span>生成</span></button>
                        </div>
                    </div>
                </div>
                <div class="form-group col-12">
                    <label class="control-label" for="hash">Hash：</label>
                    <div class="input-group flex-fill">
                        <input type="text" readonly id="hash" class="form-control" autocomplete="off" />
                        <div class="input-group-append">
                            <button type="button" data-method="hash" class="btn btn-secondary"><i class="fa fa-exclamation-triangle" aria-hidden="true"></i><span>生成</span></button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
